package com.itheima.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.core.domain.AjaxResult;
import com.itheima.server.domain.Clue;
import com.itheima.server.domain.ClueFollow;
import com.itheima.server.dto.CluAssignmentDto;
import com.itheima.server.dto.ClueFalseReasonDto;
import com.itheima.server.dto.CluePoolPageDto;
import com.itheima.server.dto.ClueQueryPage;

import java.util.HashMap;
import java.util.List;

public interface ClueService extends IService<Clue> {

    List<Clue> getList(ClueQueryPage queryPage);

    void add(Clue clue);

    Clue getCluById(Integer id);

    List<ClueFollow> getSubjectList(Integer clueId);

    void addRecord(ClueFollow clueFollow);

    void falseClue(Integer id, ClueFalseReasonDto clueFalseReasonDto);

    List<Clue> getPoolList(CluePoolPageDto cluePoolPageDto);

    void gainClue(List<Integer> ids);

    AjaxResult assigment(CluAssignmentDto cluAssignmentDto);

    void  saveList(List<Clue> clueList, HashMap<String, Integer> map);

    AjaxResult changeBusiness(Clue clue, Integer id);
}
